# (c) 2008 by Florina Nacu < florina@omnidatagrup.ro >

project(Masini)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Masini_SRCS masiniplugin.cpp masini.cpp)
QT4_WRAP_CPP(Masini_SRCS masiniplugin.h masini.h)
QT4_WRAP_UI(Masini_SRCS masini.ui)
QT4_ADD_RESOURCES(Masini_SRCS masini.qrc)

add_library(Masini SHARED ${Masini_SRCS})
add_dependencies(Masini KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Masini KontAMabil ${QT_LIBRARIES})

install(TARGETS Masini ${INSTALL_PLUGINS_DEFAULT_ARGS})
